import request from '@/utils/request'

export function payApplyList (data) { //应用-查询（分页）
  return request({
    url: '/pay-center/pcs-application/search',
    method: 'get',
    params :  data
  })
}
export function addCompileApply (data,method) { //添加 编辑应用
  return request({
    url: '/pay-center/pcs-application',
    method: method,
    data
  })
}
export function switchApply (data) { //应用-更新应用状态
  return request({
    url: '/pay-center/pcs-application/status',
    method: 'post',
    data
  })
}
export function delApply (data) { //应用-删除应用
  return request({
    url: '/pay-center/pcs-application',
    method: 'DELETE',
    data
  })
}
